<?php

$xml = new DOMDocument('1.0', 'ISO-8859-1');
$xml->load('./propriedades.xml');
$xml->preserveWhiteSpace = FALSE;
$params = $xml->getElementsByTagName('campo'); // Find Sections
echo($xml->getElementsByTagName('campo')->length);
$dados = $xml->getElementsByTagName('tabela')->item(0);
echo $dados->getAttribute('nome');
?>
